package com.itheima.health.service;

import com.itheima.health.common.ExportExcelData;
import com.itheima.health.entity.ReservationInfo;
import com.itheima.health.pojo.Order;
import com.itheima.health.vo.OrderSubmitParam;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 预约Service
 */
public interface OrderService {

    Order submitOrder(OrderSubmitParam orderSubmitParam);

    ReservationInfo findById(String orderId);
    //导出excel
    List<ExportExcelData> listHotSermeal(HttpServletResponse response)throws Exception;
}
